﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GoToInterface : MonoBehaviour
{
    public void StartGameBtn(GameObject Slider)
    {
        GameObject.Find("startButton").gameObject.SetActive(false);
        Slider.SetActive(true);
    }
    public static void ToInterface(string type)
    {
        SceneManager.LoadScene(type);
    }
    public void GoInterface(string type)
    {
        SceneManager.LoadScene(type);
    }
}
